package cn.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2020-06-21
 */
@TableName("biz_medicaltype")
public class Medicaltype extends Model<Medicaltype> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 书刊名字
     */
    @TableField("goods_name")
    private String goodsName;
    /**
     * 出版日期
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 出版社
     */
    @TableField("publish_name")
    private String publishName;
    
    
  


  

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPublishName() {
        return publishName;
    }

    public void setPublishName(String publishName) {
        this.publishName = publishName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Medicaltype{" +
        ", id=" + id +
        ", goodsName=" + goodsName +
        ", createTime=" + createTime +
        ", publishName=" + publishName +
        "}";
    }
}
